package top.continew.minithreadpool.policy;

import sun.nio.ch.ThreadPool;
import top.continew.minithreadpool.concurrent.ThreadPoolExecutor;

/**
 * 拒绝策略接口
 */
public interface RejectedExecutionHandler {
    void rejectedExecution(Runnable r, ThreadPoolExecutor executor);
}
